package com.wsoft.bpm.node;

import cn.hutool.core.util.StrUtil;

/**
 * @Author zhonglj
 * @Date 2024-09-12 17:17
 */
public class CdataTextNode extends TextNode {
    @Override
    public TextNode setText(String text) {
        text = StrUtil.format("<![CDATA[{}]]>", text);
        return super.setText(text);
    }
}
